package cn.tedu.property_management_system.mapper;

import cn.tedu.property_management_system.entity.Parking;
import cn.tedu.property_management_system.entity.VO.ParkingVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ParkingMapper {

    ParkingVO getById(Integer id);

    ParkingVO getByPosition(String position);

    List<ParkingVO> getListParking();

    int insertParking(Parking parking);

    int deleteParking(Integer id);

    int updateParking(Parking parking);

}
